<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script type="text/javascript">
		var arr1 = [89,75,99,'hello','post'];
		var arr2 = [75,99,'hello',69,'csgo'];	
		var arr3 = [];	
		var s = 0;
		for(var i=0;i<arr1.length;i++){	  
			for(var k=0;k<arr2.length;k++){	   
				if(arr1[i]==arr2[k]){	    
					arr3[s]=arr1[i];	    
					s++;	  
					 	}  
					}	
				}	
				console.log(arr3);
	</script>
</head>
<body>

</body>
</html>